package com.dcy.znoa.controller.conference.model.operGuest;

import java.util.Date;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.Length;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class AddOperGuestModel{
	
	@NotNull
	Long operId;	
	
	@NotNull
    String gName;
	
    Integer credentialType;
	
    String credentialNo;
	
    @NotNull
	@Length(max = 13)
    String phone;
	
    @NotNull
    String compName;
	
    @NotNull
    Integer personNo;
	
	String carNo;   //访客车牌号：多个就用逗号分隔
	
	String comment;
	
    Long compId;
	
    Integer auditStatus = 0;  //0 TO_AUDIT  1审批通过   2拒绝
	
	String auditComment;
	
    Integer interviewStatus = 0;
	
    String qrCode;
    
    Long createOperId;
	
    String createOperName;
    
    @NotNull
    String guestTimeStr; //yyyymmdd hh:mm:ss
    
    Date createTime = new Date();

    Integer validFlag = 1;

}
